<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>My list page</title>

</head>

<body>
	<s:iterator value="#departmentList">
		<s:property value="id" />
		<s:property value="name" />
		<s:property value="description" />
		<a href="departmentAction_delete.action?id=<s:property value='id'/>"
			onclick="return confirm('确定要删除吗？')">删除</a>
		<a href="departmentAction_editUI.action?id=<s:property value='id'/>">修改</a>

		<br />
	</s:iterator>
	<s:a action="departmentAction_addUI">添加</s:a>
</body>
</html>
